import React, { useState, useEffect } from 'react'

export default function ChildCom() {
    const [state, setState] = useState('蒋皓天')
    useEffect(() => {
        setState('周钰')
        // console.log('state:', state)
    }, [])
    return (
        <div>ChildCom</div>
    )
}
